//
//  ViewController.m
//  lessonone
//
//  Created by zzn on 16/9/13.
//  Copyright © 2016年 zzn. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIButton *bjn;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *av;
@property (weak, nonatomic) IBOutlet UISlider *xa;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)hhh:(id)sender {
    self.bjn.backgroundColor = [UIColor whiteColor];
    if(_av.isAnimating){
        [_av stopAnimating];
    }else{[_av startAnimating];
    
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
